package com.ruoyi.memo.mapper;

import java.util.List;
import com.ruoyi.memo.domain.MemoNote;

/**
 * 便签Mapper接口
 * 
 * @author ruoyi
 * @date 2025-06-10
 */
public interface MemoNoteMapper 
{
    /**
     * 查询便签
     * 
     * @param noteId 便签主键
     * @return 便签
     */
    public MemoNote selectMemoNoteByNoteId(Long noteId);

    /**
     * 查询便签列表
     * 
     * @param memoNote 便签
     * @return 便签集合
     */
    public List<MemoNote> selectMemoNoteList(MemoNote memoNote);

    /**
     * 新增便签
     * 
     * @param memoNote 便签
     * @return 结果
     */
    public int insertMemoNote(MemoNote memoNote);

    /**
     * 修改便签
     * 
     * @param memoNote 便签
     * @return 结果
     */
    public int updateMemoNote(MemoNote memoNote);

    /**
     * 删除便签
     * 
     * @param noteId 便签主键
     * @return 结果
     */
    public int deleteMemoNoteByNoteId(Long noteId);

    /**
     * 批量删除便签
     * 
     * @param noteIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMemoNoteByNoteIds(Long[] noteIds);
}
